package com.panfeng.xcloud.boss.provider.member.dao.mapper;

import com.panfeng.xcloud.dao.member.entity.UserActiveHistory;
import com.panfeng.xcloud.dao.member.mapper.UserActiveHistoryMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserActiveHistoryMapperExt extends UserActiveHistoryMapper {
    List<UserActiveHistory> findParentActiveHistory(String userId);

    void batchAdd(@Param("userActiveHistoryList") List<UserActiveHistory> userActiveHistoryList);

    void batchUpdate(@Param("userActiveHistoryList") List<UserActiveHistory> userActiveHistoryList);

    void updateByUserId(UserActiveHistory myActiveHistory);

}